package vo;

import java.io.Serializable;
import java.util.ArrayList;


public class ParkInfo implements Serializable{

	private ArrayList<ParkHistory> history = new ArrayList<ParkHistory>();

	private String carNumber;
	private int price;
	private String phone;
	private String areaName;
	private boolean isParked;

	public void setHistory(ArrayList<ParkHistory> hist) {
		this.history = hist;
	}
	
	public void addHistory(ParkHistory history) {
		this.history.add(history);
	}
	
	public ArrayList<ParkHistory> getHistory() {
		return history;
	}

	public String getCarNumber() {
		return carNumber;
	}
	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAreaName() {
		return areaName;
	}
	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public boolean isParked() {
		return isParked;
	}

	public void setParked(boolean isParked) {
		this.isParked = isParked;
	}


	

}
